package com.qiaofang.applet.service.property.service.dto;

import com.qiaofang.applet.common.base.BaseDto;
import com.qiaofang.applet.service.property.domain.EstateComment;
import com.qiaofang.applet.service.property.domain.EstateStory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2020/10/13 13:59
 */
@Data
@ApiModel("admin楼盘编辑DTO")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EstateEditDto extends BaseDto {

    @ApiModelProperty("楼盘唯一UUID")
    private String estateUniqueUuid;

    @ApiModelProperty("楼盘名称")
    private String estateName;

    @ApiModelProperty("封面图")
    private String photoUrl;

    @ApiModelProperty("本月参考售均价")
    private BigDecimal currentSellPrice;

    @ApiModelProperty("本月参考租均价")
    private BigDecimal currentRentPrice;

    @ApiModelProperty("小区介绍")
    private String introduction;

    @ApiModelProperty("小区行车路线")
    private String driveCircuit;

    @ApiModelProperty("周边配套说明")
    private String surroundingExplain;

    @ApiModelProperty("户型情况")
    private String houseTypeDes;

    @ApiModelProperty("居住情况")
    private String dwellDes;

    @ApiModelProperty("居住人群")
    private String dwellCrowd;

    @ApiModelProperty("户型对应房源")
    private Map<String, List<HouseTypeDto>> typeFyMap;

    @ApiModelProperty("小区故事")
    private List<EstateStory> storyList;

    @ApiModelProperty("相册数量")
    private int photoAlbumNum;

    @ApiModelProperty("业主点评数量")
    private int commentNum;

    @ApiModelProperty("小程序不进行收折展示")
    private boolean unfold;

    @ApiModelProperty("点评")
    private EstateComment estateComment;
}
